		<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style-home.css" media="screen" rel="stylesheet" type="text/css">
<link href="style-link.css" media="screen" rel="stylesheet" type="text/css">
<link href="style-menu.css" media="screen" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="image/favicon.ico" />
<title>123Mua.vn: Mua bán Online chất lượng, giá tốt nhất thị trường</title>
</head>
        
        	<?
$link=mysql_connect("localhost","root","123456");
mysql_select_db("123_db",$link);
?>
            <form action="#" method="post">
                	<input type="text" name="txtmadm" />
                    <input type="text" name="txttendm" />
                    <input type="submit" name="btnaccp" value="accp"/>                                                          
                </form>
                <? 				
				if(isset($_POST['btnaccp'])){
				$ma=$_POST['txtmadm']; $ten=$_POST['txttendm'];
				$sql = "insert into danhmuc values('$ma','$ten')";
				mysql_query($sql);}
				
				 ?>